#include "reg51.h"

sfr     P0M1    =   0x93;
sfr     P0M0    =   0x94;
sfr     P2M1    =   0x95;
sfr     P2M0    =   0x96;
sfr     P3M1    =   0xb1;
sfr     P3M0    =   0xb2;

sbit		Dpy1		=		P3^2;
sbit		Dpy2		=		P0^1;
sbit		Dpy3		=		P3^4;
sbit		Dpy4		=		P3^5;
sbit		Dpy5		=		P3^6;
sbit		Dpy6		=		P3^7;

extern void Dpy_Init(void);
extern void Dpy_show(unsigned long dat);
extern void dpyTShow(unsigned long dat);
extern void dpyRhShow(unsigned long dat);